package com.hou.service;

import com.hou.vo.GoodsVo;
import com.hou.vo.TaomiGoods;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import java.io.IOException;
import java.util.List;

public interface TaomiGoodsService {
    void addTaomiGoods(TaomiGoods taomiGoods);

    void updateTaomiGoods(TaomiGoods taomiGoods);

//    TaomiGoods selectTaomiGoods(String goodsname);
    List<TaomiGoods> selectTaomiGoods(String name);

    TaomiGoods selectidTaomiGoods(Long id);

    void deleteTaomiGoods(Long id);

    List<TaomiGoods> selectTaomiGoodsList();

//    String changeAvatar(MultipartFile file, HttpServletRequest request) throws IOException;

}
